import 'package:flutter/services.dart';
import 'package:flutter_volcengine_provider/flutter_volcengine_provider.dart';

class DebugVolcengine implements APMDebug {
  final _channel = const MethodChannel('flutter_volcengine');
  @override
  void makeAppCrash() {
    _channel.invokeMethod('makeAppCrash');
  }

  @override
  void makeUserException() {
    _channel.invokeMethod('makeUserException');
  }

  @override
  void makeAppFrozen() {
    _channel.invokeMethod('makeAppFrozen');
  }

  @override
  void makeCPUException() {
    _channel.invokeMethod('makeCPUException');
  }

  @override
  void makeAppOutOfMemeory() {
    _channel.invokeMethod('makeAppOutOfMemeory');
  }
}
